package com.boarsoft.gateway;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 基于Jetty的分布式网关
 * 
 * @author Mac_J
 *
 */
public class Main {
	private static ClassPathXmlApplicationContext ctx;

	public static void main(String[] args) throws Exception {
		ctx = new ClassPathXmlApplicationContext("classpath:spring/context.xml");
		System.out.println("Startup ".concat(ctx.isRunning() ? "successfully." : "failed."));
	}
}
